package demo.gemo {
	
	/** 
	 * X-Y plane.
	 */
	public class GridPoint extends Object {

		public var gridX:int = -1;
		public var gridY:int = -1;
		
		public function GridPoint(gridX:int = -1, gridY:int = -1) {
			this.gridX = gridX;
			this.gridY = gridY;
		}
		
		public function equals(val:GridPoint):Boolean {
			return (this.gridX==val.gridX) && (this.gridY==val.gridY);
		}
		
		public function toString():String {
			return "(" + this.gridX + ", " + this.gridY + ")";
		}
	}
}